import { axios } from '@/utils/request'

const api = {
  form: '/store/form'
}

export default api

export function saveForm (parameter) {
  return axios({
    url: api.form,
    method: 'post',
    data: parameter
  })
}

export function formList (parameter) {
  return axios({
    url: api.form,
    method: 'get',
    params: parameter
  })
}
